package com.ruoyi.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * RandominSpectionRecord对象 randominspectionrecord
 * 
 * @author ruoyi
 * @date 2025-01-11
 */
public class RandominSpectionRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 抽检编号 */
    private Long InspectID;

    /** 食材编号 */
    @Excel(name = "食材编号")
    private Long ingredientId;

    /** 抽检日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "抽检日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectionDate;

    /** 抽检数量 */
    @Excel(name = "抽检数量")
    private Long inspectionQuantity;

    /** 合格率 */
    @Excel(name = "合格率")
    private BigDecimal passRate;

    /** 供应商编号 */
    @Excel(name = "供应商编号")
    private Long supplierId;

    /** 备用1 */
    @Excel(name = "备用1")
    private String Field1;

    /** 备用2 */
    @Excel(name = "备用2")
    private String Field2;

    /** 备用3 */
    @Excel(name = "备用3")
    private String Field3;

    /** 备用4 */
    @Excel(name = "备用4")
    private String Field4;

    public void setInspectID(Long InspectID) 
    {
        this.InspectID = InspectID;
    }

    public Long getInspectID() 
    {
        return InspectID;
    }
    public void setIngredientId(Long ingredientId) 
    {
        this.ingredientId = ingredientId;
    }

    public Long getIngredientId() 
    {
        return ingredientId;
    }
    public void setInspectionDate(Date inspectionDate) 
    {
        this.inspectionDate = inspectionDate;
    }

    public Date getInspectionDate() 
    {
        return inspectionDate;
    }
    public void setInspectionQuantity(Long inspectionQuantity) 
    {
        this.inspectionQuantity = inspectionQuantity;
    }

    public Long getInspectionQuantity() 
    {
        return inspectionQuantity;
    }
    public void setPassRate(BigDecimal passRate) 
    {
        this.passRate = passRate;
    }

    public BigDecimal getPassRate() 
    {
        return passRate;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setField1(String Field1) 
    {
        this.Field1 = Field1;
    }

    public String getField1() 
    {
        return Field1;
    }
    public void setField2(String Field2) 
    {
        this.Field2 = Field2;
    }

    public String getField2() 
    {
        return Field2;
    }
    public void setField3(String Field3) 
    {
        this.Field3 = Field3;
    }

    public String getField3() 
    {
        return Field3;
    }
    public void setField4(String Field4) 
    {
        this.Field4 = Field4;
    }

    public String getField4() 
    {
        return Field4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("InspectID", getInspectID())
            .append("ingredientId", getIngredientId())
            .append("inspectionDate", getInspectionDate())
            .append("inspectionQuantity", getInspectionQuantity())
            .append("passRate", getPassRate())
            .append("supplierId", getSupplierId())
            .append("Field1", getField1())
            .append("Field2", getField2())
            .append("Field3", getField3())
            .append("Field4", getField4())
            .toString();
    }
}
